package com.miage.itrading.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.Panel;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.visualization.client.VisualizationUtils;
import com.google.gwt.visualization.client.visualizations.AnnotatedTimeLine;
import com.google.gwt.visualization.client.visualizations.corechart.CoreChart;

public class Itrading implements EntryPoint {
	public void onModuleLoad() {

		Runnable onLoadCallback = new Runnable() {
			public void run() {
				Panel panel = RootPanel.get();

				panel.add(new ItradingAffichage());

			}
		};

		VisualizationUtils.loadVisualizationApi(onLoadCallback,
				AnnotatedTimeLine.PACKAGE, CoreChart.PACKAGE);// , Table.PACKAGE);
	}
}